package bim.domain;

import java.util.ArrayList;
import java.util.List;



/**
 * <p>
 * Class : paper.domain.User
 * <p>
 * Descdription: 学生用户
 * 
 * @author 顾力行-gulx@neusoft.com
 * @version 1.0.0
 */

public class User extends BaseEntity{
	
    public User() {
    }
	
    private String name;
    
    private String password;
    
    private List<Role> roleList = new ArrayList<Role>();
    
    public List<Role> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<Role> roleList) {
		this.roleList = roleList;
	}

	String roleName;
    

    public String getRoleName() {
    	return roleName;
    }
    
    public void setRoleName(String roleName) {
    	this.roleName = roleName;
    }
    
    public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = decode(name);
    }

}